package com.ruoyi.LXHComplaint.service.impl;

import com.ruoyi.LXHComplaint.mapper.LXHSysUserMapper;
import com.ruoyi.LXHComplaint.service.ILXHSysUserService;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
/**
 * 投诉模块用户服务实现类（新增类，避免与系统原有类重名）
 */
@Service
public class LXHSysUserServiceImpl implements ILXHSysUserService { // 实现修改后的接口

    @Autowired
    private LXHSysUserMapper lxhSysUserMapper;

    @Override
    public List<Map<String, Object>> selectTeamDoctorsByUserId(Long userId) {
        return lxhSysUserMapper.selectTeamDoctorsByUserId(userId);
    }

    @Override
    public SysUser selectUserByUserName(String userName) {
        return lxhSysUserMapper.selectUserByUserName(userName);
    }
}